package com.wenjunwu.blog.dao;

import java.util.List;
import java.util.Map;

import com.wenjunwu.blog.entity.SystemUser;

public interface SystemUserDao {

	public SystemUser findUser(Long id);

	public SystemUser findUser(String username);

	public List<SystemUser> findUsersPage(Map<String, Object> params);
	
	public List<SystemUser> findUsers();

	int insert(SystemUser systemUser);

	int update(SystemUser systemUser);
	
	int deleteUserById(long id);
}